protected Messages messages = AppBeans.get(Messages.class);
...
messages.getMainMessage("actions.Ok");